package com.yike.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.product.entity.Category;
import com.yike.product.param.CategoryPageParam;

import com.yike.product.vo.CategoryVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 商品分类 Mapper 接口
 *
 * @author Sakura
 * @since 2024-09-02
 */
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    IPage<CategoryVo> getCategoryList(@Param("page") Page page, @Param("param") CategoryPageParam param);


}
